;
(function() {
  'use strict';
  angular.module('services.dataQualityMng')
    .service('dataQualityMonitorService', dataQualityMonitorService);

  function dataQualityMonitorService(CoreService) {
    return {
      queryError:queryError
    }

    function queryError(flag, message) {
      CoreService.dialog(message);
      flag.state = true;
      flag.arrow = true;
      flag.show = '';
    }
  }

  dataQualityMonitorService.$inject = ['CoreService'];
})();